﻿//---Standard Vehicle Config for Flans Mod--------
//Created by Minecraft-SMP Toolbox 2.1.4.2


//---Standard-------------------------------------
// Naming
Name Type-16 Hito-Roku MCV
ShortName GFS_Type16
ItemID Your ID


// Visuals
Model gfs.Type16
ModelScale 1.1
Icon IconType16
Texture SkinType16


// Recipe


//Misc
Description Japanese Airborne Assault Gun_105mm Rifled Gun_7.62 Machine Gun_12.7mm MBachine Gun_Introduced: 2016

//------------------------------------------------

//---Driveables-----------------------------------


//Movement
MaxThrottle 1.4
MaxNegativeThrottle 0.75
Drag 10.0


//Wheels
//Wheels
NumWheels 4
WheelPosition 0 -17 -10 -22
WheelPosition 1 -17 -10 22
WheelPosition 2 57 -10 22
WheelPosition 3 57 -10 -22
WheelRadius 1.5
WheelSpringStrength 0.5
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating


//Ammo
BulletSpeed 9
BulletSpread 1
AllowAllAmmo False
AddAmmo GFS_105mmHEAT
AddAmmo GFS_105mmAPFSDS


//Weapons
Primary SHELL
Secondary GUN
ShootDelayPrimary 110
ShootDelaySecondary 1
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 94 25 0 turret
ShootPointSecondary 32 27 -5 turret GFS_M240


//Driver and Passengers
Driver 0 18 0 -360 360 -8 20
RotatedDriverOffset 24 0 13
Passengers 1
Passenger 1 0 34 0 turret -60 60 -10 50 GFS_M2HB PassengerGun1
GunOrigin 1 0 38 -13
RotatedPassengerOffset 1 -19 0 14
PassengerAimSpeed 1 2.5 2.5 0
SetPlayerInvisible true


//Inventory Slots
CargoSlots 4
ShellSlots 6
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_APCChassis
AddRecipeParts turret 1 GFS_MBTTurret
AddDye 3 cyan 3 brown


//Health and Collision
SetupPart core 850 -47 4 -25 122 16 50
SetupPart turret 500 -37 20 -25 66 14 50
BulletDetection 7
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesPrimary cloud 1.75 0 0
ShootParticlesPrimary cloud 1.5 0 0
ShootParticlesPrimary cloud 1.25 0 0
ShootParticlesPrimary cloud 0.75 0 0
ShootParticlesPrimary cloud 0.5 0 0
ShootParticlesPrimary cloud 0.25 0 0
ShootParticlesPrimary explode 1.5 0 0
ShootParticlesPrimary largesmoke 0.5 0 0.1
ShootParticlesPrimary largesmoke 0.5 0 -0.1
ShootParticlesPrimary largesmoke 0.5 0.06 0.06
ShootParticlesPrimary largesmoke 0.5 0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.1 0
ShootParticlesPrimary largesmoke 0.5 0.1 0
ShootParticlesPrimary cloud 0.05 0 0.2
ShootParticlesPrimary cloud 0.05 0 -0.2
ShootParticlesPrimary cloud 0.05 0.13 0.13
ShootParticlesPrimary cloud 0.05 0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.13 0.13
ShootParticlesPrimary cloud 0.05 -0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.2 0
ShootParticlesPrimary cloud 0.05 0.2 0
ShootParticlesPrimary explode 0.1 0 0.4
ShootParticlesPrimary explode 0.1 0 -0.4
ShootParticlesPrimary explode 0.1 0.26 0.26
ShootParticlesPrimary explode 0.1 0.26 -0.26
ShootParticlesPrimary explode 0.1 -0.26 0.26
ShootParticlesPrimary explode 0.1 -0.26 -0.26
ShootParticlesPrimary explode 0.1 -0.4 0
ShootParticlesPrimary explode 0.1 0.4 0
ShootParticlesSecondary flame 0.025 0 0
ShootParticlesSecondary flansmod.fmsmoke 0 0.01 0

//Misc
CameraDistance 15


//Sounds
PlaceSoundPrimary EngineStart_IFV_LAV
IdleSound EngineIdle_IFV_LAV
IdleSoundLength 20
EngineSound Engine_IFV_LAV
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_Tnk_105mm
ShootSoundSecondary Shoot_Gun_M240
VehicleGunReloadTick 45
ShootReloadSound Reload_Tnk_Manual

//------------------------------------------------

//---Vehicle--------------------------------------
//Visuals
RotateWheels True


//Movement
TurnLeftSpeed 0.30
TurnRightSpeed 0.30
FourWheelDrive False


//Misc
Tank False
CanMountEntity true


//Turret rotation stuff
DriverAimSpeed 4 4 0
DriverYawBeforePitch true
DriverTraverseSounds true
YawSound TurretYaw2
YawSoundLength 21
PitchSound TurretPitch2
PitchSoundLength 20


//------------------------------------------------
AddSmokePoint [10,30,-15] [0,0.75,-0.75] 20 turret
AddSmokePoint [10,30,15] [0,0.75,0.75] 20 turret

AddSmokePoint [8,30,-20] [0.40,0.75,-0.40] 20 turret
AddSmokePoint [8,30,20] [0.40,0.75,0.40] 20 turret

AddSmokePoint [7,30,-20] [0.75,0.75,-0.15] 20 turret
AddSmokePoint [7,30,20] [0.75,0.75,0.15] 20 turret
HasFlare True

HasSmoke True
FlareDelay 350
FlareSound SmokeDeploy